package com.healthy.reminders.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthy.common.core.annotation.Excel;
import com.healthy.common.core.web.domain.BaseEntity;

/**
 * 追踪计划对象 plan_progress
 * 
 * @author 束伟
 * @date 2024-03-29
 */
public class PlanProgress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划进度ID */
    private Long id;

    /** 健康计划ID */
    @Excel(name = "健康计划ID")
    private Long healthPlanId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completeDate;

    /** 已完成的活动或任务 */
    @Excel(name = "已完成的活动或任务")
    private String completedActivities;

    /** 备注或感想 */
    @Excel(name = "备注或感想")
    private String notes;

    /** 备用列1 */
    @Excel(name = "备用列1")
    private String spareColumn1;

    /** 备用列2 */
    @Excel(name = "备用列2")
    private String spareColumn2;

    /** 备用列3 */
    @Excel(name = "备用列3")
    private String spareColumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHealthPlanId(Long healthPlanId) 
    {
        this.healthPlanId = healthPlanId;
    }

    public Long getHealthPlanId() 
    {
        return healthPlanId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCompleteDate(Date completeDate) 
    {
        this.completeDate = completeDate;
    }

    public Date getCompleteDate() 
    {
        return completeDate;
    }
    public void setCompletedActivities(String completedActivities) 
    {
        this.completedActivities = completedActivities;
    }

    public String getCompletedActivities() 
    {
        return completedActivities;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setSpareColumn1(String spareColumn1) 
    {
        this.spareColumn1 = spareColumn1;
    }

    public String getSpareColumn1() 
    {
        return spareColumn1;
    }
    public void setSpareColumn2(String spareColumn2) 
    {
        this.spareColumn2 = spareColumn2;
    }

    public String getSpareColumn2() 
    {
        return spareColumn2;
    }
    public void setSpareColumn3(String spareColumn3) 
    {
        this.spareColumn3 = spareColumn3;
    }

    public String getSpareColumn3() 
    {
        return spareColumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("healthPlanId", getHealthPlanId())
            .append("userId", getUserId())
            .append("completeDate", getCompleteDate())
            .append("completedActivities", getCompletedActivities())
            .append("notes", getNotes())
            .append("spareColumn1", getSpareColumn1())
            .append("spareColumn2", getSpareColumn2())
            .append("spareColumn3", getSpareColumn3())
            .toString();
    }
}
